package com.qqtech.qquan.user.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.common.util.StringUtil;

@SuppressWarnings("serial")
public class UserSuggestVo extends UserSuggest {
	/**
	 * 用户昵称
	 */
	private String nick;
	
	/**
	 * 社区
	 */
	private String communityName;

	public String getCommunityName() {
		return communityName;
	}

	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}

	public String getNick() {
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}
	public String getPathImgs() {
		if (StringUtil.isBlank(this.getImg())) {
			return "";
		}
		String filePath = ";" + this.getFileDomain();
		String pathImgs = this.getImg().replaceAll(";", filePath);
		return this.getFileDomain() + pathImgs;
	}
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}